<!DOCTYPE html>
<html lang="en" id="htmlRoot">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
    />
    <title>后台管理系统</title>
    <link rel="icon" href="/logo.png" />
  </head>
  <body>
    <script>
      (() => {
        var htmlRoot = document.getElementById('htmlRoot');
        var theme = window.localStorage.getItem('APP_SIDEBAR_SETTING');
        try {
          theme = theme && JSON.parse(theme).theme
          if (htmlRoot && theme) {
            htmlRoot.setAttribute('data-theme', theme);
            htmlRoot.style.fontSize = '16px'
            htmlRoot.classList.add(theme)
            theme = htmlRoot = null;
          }
        } catch (error) {
          console.log('获取主题: ', error);
        }
      })();
    </script>
    <div id="app">
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
